
.page-banner {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 300px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 70px;
    background-color: #1e79f0;
    position: absolute;
    opacity: 0.8;
    right: 0px;
    bottom: 50px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumb {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title-container {
    flex: 1;
    text-align: right;
}

.breadcrumb a {
    text-decoration: none;
    margin: 0 15px;
    color: #666;
    font-size: 14px;
}

.breadcrumb span {
    font-size: 14px;
    color: #666;
    margin: 0 5px;
}

.breadcrumb-title {
    font-size: 24px;
    color: #205bac;
    margin: 0 5px;
}

.news-page {
    padding: 40px 0;
    background: #fff;
}

.news-items {
    list-style: none;
    padding: 0;
}

.news-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: background-color 0.3s;
}

.news-item:hover {
    background-color: #f9f9f9;
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    margin-right: 20px;
}

.news-date .day {
    font-size: 32px;
    font-weight: bold;
    color: #003C88;
}

.news-date .month {
    font-size: 14px;
    color: #666;
}

.news-info h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.news-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}


.main-header {
    background-color: #0849a3;
}

.main-nav {
    width: 100%;
}

.main-nav ul {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

.main-nav li:hover>a {
    background-color: #003C88;
}


.main-nav li.active>a {
    background-color: #003C88;
}


.news-page .container {
    display: flex;
    margin-top: 20px;
}


.news-sidebar {
    width: 240px;

    border-radius: 4px;
    overflow: hidden;
    padding: 5px 0 0 5px;
    background: #003C88;
}

.sidebar-header {
    background: #003C88;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
}

.sidebar-header img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.sidebar-header h2 {
    margin: 0;
    font-size: 18px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    background: #fff;
}

.sidebar-nav a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-nav a:hover {
    background: #f5f5f5;
    color: #003C88;
}

.sidebar-nav a.active {
    border-left: 4px solid #e2a216;
}

.news-list-container {
    flex: 1;
    background: #fff;
    border-radius: 4px;
    margin-top: 20px;
    margin-left: 20px;
}

.container {
    padding: 0;
}

.news-list {
    padding: 0 20px;
}

.news-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #e5e5e5;
    position: relative;
    padding-left: 15px;
}

.news-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #003C88;
    border-radius: 50%;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-content {
    flex: 1;
    padding: 0 20px 0 5px;
}

.news-title {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s;
}

.news-title:hover {
    color: #003C88;
}

.news-time {
    color: #999;
    font-size: 14px;
    width: 100px;
    text-align: right;
}

.news-meta {
    font-size: 12px;
}

.news-meta .views::before,
.news-meta .source::before {
    font-family: "Microsoft YaHei";
    margin-right: 3px;
}

.news-meta .views::before {
    content: "浏览量：";
}

.news-meta .source::before {
    content: "来源：";
}


.hot-news {
    background: #fff;
    border-radius: 4px;
    margin-top: 20px;
}

.hot-news-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #003C88;
}

.hot-news-header span {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.hot-news-list {
    list-style: none;
    padding: 10px 15px;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.hot-news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding: 12px;
}

.hot-news-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #003C88;
    border-radius: 50%;
}

.hot-news-list li:last-child {
    border-bottom: none;
}

.hot-news-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    flex: 1;
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-news-list a:hover {
    color: #003C88;
}

.hot-news-list .date {
    color: #999;
    font-size: 12px;
}


.main-nav .has-submenu {
    position: relative;
}

.main-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 120px;
    background: #0849a3;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}

.main-nav .has-submenu:hover .submenu {
    display: block;
}

.main-nav .submenu li {
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav .submenu li:first-child {
    border-top: none;
}

.main-nav .submenu a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.main-nav .submenu a:hover {
    background: #003C88;
}


.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    flex-wrap: wrap;
    gap: 8px;
}

.page-item {
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    padding: 0 12px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
    background: #fff;
}

.page-item:hover {
    border-color: #003C88;
    color: #003C88;
}

.page-item.active {
    background-color: #003C88;
    color: #fff;
    border-color: #003C88;
}

.page-info {
    margin: 0 15px;
    color: #666;
    font-size: 14px;
}

.page-goto {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.page-input {
    width: 40px;
    height: 32px;
    margin: 0 8px;
    border: 1px solid #ddd;
    text-align: center;
    outline: none;
    font-size: 14px;
}

.page-input:focus {
    border-color: #003C88;
}

.detail-content {
    padding: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.detail-title {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.detail-info {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 14px;
    text-align: center;
}

.detail-info span {
    margin: 0 10px;
}

.detail-info .font-size {
    margin-left: 20px;
}

.detail-info .font-size a {
    color: #1890ff;
    margin: 0 5px;
    cursor: pointer;
    text-decoration: none;
}

.detail-body {
    padding: 20px 0;
}

.detail-image {
    text-align: center;
    margin: 20px 0;
}

.detail-image img {
    max-width: 100%;
    height: auto;
}

.image-caption {
    color: #666;
    font-size: 16px;
    text-align: left;
    margin-top: 10px;
    text-indent: 2em;
    line-height: 1.8;
    padding: 0 20px;
}

.article-nav {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.article-content p{
    text-align: right;
}
.article-nav-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 16px;
    color: #666;
}

.article-nav-item span {
    color: #999;
    margin-right: 10px;
}

.article-nav-item a {
    color: #333;
    flex: 1;
}

.article-nav-item a:hover {
    color: #003C88;
}

a {
    text-decoration: none;
}
